home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 2002-04-12 | 2.2 KB | 74 lines |
- "FILE"="Xteq Systems X-Setup Plugin 5.0"
- "TYPE"="6"
- "COUNT"="4"
- "UIPATH"="Appearance\Desktop\Icons\Visible Icons"
- "NAME"="Internet Service Providers Icons"
- "LANGUAGE"="VBScript"
- "VERSION"="2.09"
- "TEXT 1"="MSN Versions 1.0, 2.0, 5.x or later"
- "TEXT 2"="MSN Versions 2.5, 2.6 or 2.7"
- "TEXT 3"="AOL Desktop Icon"
- "TEXT 4"="Windows 9x/2K/ME Dial-up Network"
- "DESCRIPTION 1"="To show an item on the desktop, activate it. To hide it, deactivate it."
- "DESCRIPTION 2"="In order to activate the changes, it may be necessary to refresh the Desktop or to press the F5 Key."
- "AUTHOR"="Xteq Systems"
- "CONTACTURL"="http://www.xteq.com"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"=" "
- "COMMENT 2"="Thanks to Siegfried Burgstedt for his fix!"
-
-
-
-
- '******************************************************************
- '*** MASTER TEMPLATE (1 of X) ****
- '******************************************************************
- sVals=Array("{88667D10-10F0-11D0-8150-00AA00BF8457}","{00028B00-0000-0000-C000-000000000046}","{955B7B84-5308-419c-8ED8-0B9CA3C56985}","{992CFFA0-F557-101A-88EC-00DD010CCC48}")
- '******************************************************************
- '*** Keep an eye on the order (must be the same as "TEXT x") ! ****
- '******************************************************************
- sPath="HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\"
-
-
-
- Sub Plugin_Initialize
- for i=0 to GetUIElementsCount-1
- s=sPath & sVals(i)
-
- if RegPathExists(s) then SetUIElement i+1,true
- next
- End Sub
-
- Sub Plugin_CheckData(ElementIndex)
- End Sub
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- for i=0 to GetUIElementsCount-1
- b=GetUIElement(i+1)
- s=sPath & sVals(i)
-
- if b=true then
- Call RegWriteValue(s & "\@","",1)
- else
-
- if RegPathExists(s) then
- if RegValueExists(s & "\Removal Message") then
- Call RegDeleteValue(s & "\Removal Message")
- end if
-
- 'finally delete the path
- Call RegDeletePath(s)
- end if
- end if
- next
-
- Call IndicateSettingChange()
- End Sub
-
-
- Sub Plugin_Terminate
- End Sub
-
-
-
-